package com.iretailer.report.mapper;


import com.iretailer.report.base.SuperMapper;
import com.iretailer.report.model.Location;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Auther: xjw
 * @Date: 2019/1/21 13:00
 * @Description:
 */
public interface LocationMapper extends SuperMapper<Location> {

    List<Location> selectAllOrderByRank();

    /**
     * 根据 parentId 查询出 location
     */
    List<Location> selectLocationByParentId(@Param("parentId") String parentId);
}
